﻿.header {
  position: fixed !important;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  background-color: #2E2E2E;
  background-size: 100% 100%;
}

* {
  margin: 0;
  padding: 0;
}

a,
img {
  text-decoration: none;
  border: none;
}

button,
input,
textarea {
  color: #515250;
  border: none;
  outline: 0;
  font: 14px/1.5 'Microsoft YaHei', '微软雅黑', 'Helvetica Neue', 'Hiragino Sans GB', Helvetica, Tahoma, sans-serif;
}

h4 {
  font-size: 20px;
}

li {
  list-style: none;
}

body,
html {
  overflow-x: hidden;
  color: #515250;
  background-color: rgba(255, 255, 255, .5);
  font: 14px/1.5 'Helvetica neue', Helvetica, Tahoma, 'lantinghei sc', 'Microsoft Yahei', sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-backface-visibility: hidden;
}

.gird-header {
  position: fixed;
  z-index: 11002;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 60px;
  border-bottom: 1px solid #E8E9E7;
  background-color: rgba(255, 255, 255, 1);
  font-size: 14px;

  ;
}

.container-fixed,
.footer-fixed,
.header-fixed {
  position: relative;
  width: 1280px;
  margin-right: auto;
  margin-left: auto;
}

.header-inner {
  position: relative;
  margin-right: 10px;
  margin-left: 10px;
}

.header-logo {
  position: absolute;
  left: 0;
  text-align: center;
  color: #444647;
  font-family: BarbaraHand;
  font-size: 40px;
}

.nav {
  position: absolute;
  right: 15%;
  display: block;
}

.nav li {
  position: relative;
  display: block;
  float: left;
}

.nav li:before {
  position: absolute;
  z-index: -1;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  content: '';
  transition: all .6s;
  background-color: #6BC30D;
}


.nav li a {
  display: block;
  padding: 4px 28px;
  -webkit-transition: all .2s;
  transition: all .2s;
  color: #212220;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .2);
  font-size: 15px;
  font-weight: 400;
  line-height: 32px;
}

.nav .current:before {
  left: 0;
  width: 100%;
}

.nav .current a {
  color: #6BC30D;
}

.blog-user {
  position: absolute;
  font-size: 24px;
  line-height: 60px;
}

.blog-user>img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.phone-menu {
  position: absolute;
  top: 5px;
  right: 0;
  display: inline-block;
  width: 50px;
  height: 50px;
  cursor: pointer;
}

.phone-menu i {
  position: absolute;
  left: 14px;
  display: inline-block;
  width: 22px;
  height: 2px;
  background: #787977;
}

.phone-menu i:nth-of-type(1) {
  top: 18px;
}

.phone-menu i:nth-of-type(2) {
  top: 25px;
}

.phone-menu i:nth-of-type(3) {
  top: 32px;
}

.grid-footer {
  position: relative;
  clear: both;
  overflow: hidden;
  zoom: 1;
  margin-top: 40px;
  padding: 20px 0 0 0;
  color: #919290;
  background-color: #212220;
  font-size: 14px;
  line-height: 20px;
}

.copyright {
  padding: 10px 0 10px 0;
}

.copyright .info {
  position: relative;
  text-align: center;
}

.copyright p {
  color: #565755;
  font-size: 13px;

  ;
}

.copyright .contact a {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-right: 0;
  margin-left: 15px;
  -webkit-transition: all .3s;
  transition: all .3s;
  text-align: center;
  text-decoration: none;
  color: rgba(255, 255, 255, .5);
  border-radius: 100%;
  background-color: rgba(255, 255, 255, .2);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, .5);
  font-size: 14px;
  line-height: 30px;
}

.copyright .contact a:hover {
  color: #FFFFFF;
}

.copyright .contact .github:hover {
  background-color: #B952C5;
}

.copyright .contact .qq:hover {
  background-color: #D25744;
}

.copyright .contact .email:hover {
  background-color: #668F20;
}

.copyright .contact .weixin:hover {
  background-color: #06A2C9;
}

.doc-container {
  position: relative;
  min-height: calc(100vh - 140px);
  padding-top: 60px;
  -webkit-transition: all .2s;
  transition: all .2s;
}

.lo {
  clear: both;
  width: 250px;
  height: 60px;
  padding: 10px 15px;
  border-radius: 4px;
}

.lo input {
  margin-left: 15px;
  border: 1px solid #E8E9E7;
}

.lo button {
  margin-top: 10px;
  padding: 5px 15px;
  cursor: pointer;
}

.lo .waiting {
  display: none;
  padding: 5px 15px;
  font-family: FontAwesome;
  font-size: 20px;
  font-style: normal;
  text-rendering: auto;
}

.lo .waiting:before {
  content: '\f110';
  -webkit-animation: spin 2s infinite linear;
  animation: spin 2s infinite linear;
}

.artcle {
  transition: animation .3s linear;
}

.zoomIn {
  animation: zoomIn 1s both;
}

@keyframes zoomIn {
  0% {
    -webkit-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0);
  }

  100% {
    -webkit-transform: rotate(359deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(359deg);
  }
}

@media screen and (min-width:1025px) {
  .blog-user {
    right: 0;
  }

  .phone-menu {
    display: none;
  }

  .nav {
    display: block !important;
  }

  .nav ul li ul {
    margin-top: 20px;
    min-width: 80px;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
  }

  .nav ul li .current:before {
    left: 0;
    width: 100%;
  }

  .nav ul li .current a {
    color: #6BC30D;
  }
}

@media screen and (max-width:1366px) {

  .container-fixed,
  .footer-fixed,
  .header-fixed {
    width: 90%;
  }

  .phone-menu {
    display: none;
  }

  .nav {
    display: block;
  }
}

@media screen and (max-width:1024px) {
  .header-logo {
    left: 25%;
    width: 50%;
  }

  .nav {
    position: fixed;
    top: 60px;
    right: 0;
    left: 0;
  }

  .container-fixed,
  .footer-fixed,
  .header-fixed {
    width: 90%;
  }

  .phone-menu {
    display: block;
  }

  .nav {
    display: none;
    width: 100%;
    background: rgba(255, 255, 255, 1);
  }

  .nav li:before {
    z-index: 10;
    bottom: 0;
  }

  .nav li {
    float: none;
    border-bottom: 1px solid #E8E9E7;
  }

  .nav li:last-child {
    border: 0;
  }
}